I left a water bottle with an internal straw in my car throughout a long, hot day. When I opened the bottle at the end of the day, water immediately splashed out from the straw. This made me wonder if the increase in temperature caused the liquid to move with greater capillary action upwards in the straw due to higher movement of $\ce{H2O}$ atoms OR whether it was an increase in pressure that led the water molecules to automatically expel outwards from the straw once the bottle was opened.
I know this may seem like a silly question but what explanation would you give for the expulsion of the water from the straw? (I find this recurring event strange because the shape of the bottle never shrinks at all from the heat yet something forces the water outwards but I cannot discern what force causes this. By the way, this never happens to me with regular water bottles - only with ones containing straws/tubes on the inside.)