Hello and thank you for choosing Just Answer.
This would have to do something with the water pump. The water pump is the main and most important part of the engine cooling system. It pumps the water to make circulation in the system. The water flows through the motor to cool it down , then goes into the radiator to cool the water down.
If the water pump is not working properly, the car will overheat. I would strongly suggest that you take the car back to the garage that did the work.