Who really fired Megan Fox from Transformers?

It's been said that Hollywood is like high school with money, although lately, it seems to come across more like kindergarden.