Why didn't Megan Fox do transformers 3?

probally it was not popular enough to do a new one. That's what happens in show biz one minute the movie is the best the next its soo yesterday.