Both battery terminals get hot while engine is running on a zx3 dohc zetec 16 valve

Both battery cable terminal ends get hot. While driving my car, it just died. Pulled off the road and stopped. Placed transmission in park and turned key on to crank engine and no clicks from stater relay and no cranking from starter. Turned off ignition and tried 2-4 times and still no cranking or clicking from starter relay. Turned ignition off and waited 10-15 minutes. Tried it again and it started up like normal. Does this sound like bad battery cable or started relay problems? Thanks for helping.
My car has an automatic transmission.

– Both battery terminals get hot while engine is running on a zx3 dohc zetec 16 valve