Some of the max232 I’ve bought off eBay have randomly got hot and destroyed themselves . I now only buy these from the likes of RS components and not had any issue .
Having said it is is worth checking you have the connections to the capacitors correct ( one in particular ( C4) has its positive connection to 0v which can confuse ) , you also need a capacitor across the power supply .