Why did Jessica Simpson write A Public Affair?

That's what I would like to know! Hard to say. It was probably the worst song she has ever wrote.