For one, some towns that had them installed decided to make yellow lights shorter. That way, they got increased revenue... however, a short yellow life is less safe for all involved.
I know in NSW, Australia, light timings are standardized based on speed limits. That prevents stupid revenue tricks like that, as well as making all lights predictable.