What could be possible reasons for Atmega-chip and Xbee heating up?

the the xbee is heating up .. in my case because it was short circuited and i had to replace it to a new one since it got burned :frowning: