Because Joffrey was a dick?
It was Littlefinger that convinced Joffrey to order it. Joffrey was just a cat’s paw.