Hotels and public wifi usually assign DHCP IP addresses with short lease times of 24 hours or less.
The part that puzzles me is why your router switched from the static IP you had set over to DHCP.

I do not work for and I do not have formal association with GL.iNet