A put it down to a combination of things..
- the power Unicron gave him definitely made him happy. He felt unstoppable, mad with power.
- the migraines from Unicron tortured his mind. He feels unbelievably powerful and yet he is continually brought to his knees.
- and to top that off with the discomfort of a lava bath? Well.. I think the sun must've touched his brain.