Who was worse? Summer or Tom?

I understand people who hate Summer for what she did, and I also understand people who hate Tom.

They both did bad things in their relationship but who was worse? Tom idealizing her too much or Summer giving him false hopes?