Insights on the origin of the Tb5Ge4 magnetocaloric effect