Why is energy transferred from your body into the cold sea while swimming even though you have less internal energy than the surrounding cool water?

What's happening is your body is trying to stay at 96*F and while your in the water heat is being conducted away from your body, into the water, then your body trys to heat its self again. And when your body heats its self it used energy.