The pump effect is caused by increased blood flow to the muscles during exercise. This increased blood flow delivers oxygen and nutrients while removing waste products, leading to a temporary increase in muscle size and vascularity.