Pool pump turning off

Hi, recently our old pool pump started turning off about after an hour of usage. We normally keep it running for about 4 hours daily. Just recently it started turning off about and hour after starting. We figured it was the pump so we ordered a new one from inyopools and set it up. After the successful setup it again started to turn off after an hour. The breakers that the pump gets its power from is not being tripped and the timer is still outputting power.( Verified with multimeter) after the pump turns off about 10 minutes later a audible click noise comes from the pump and it turns back on. Is this a sign of overheating? Why would a brand new pump overheat after just an hour? Any help is appreciated thank you. Also the pump is set to the same voltage that the old one was set too.