The water in a spa tub is heated using a heating system that is typically powered by electricity or gas. The heating system is designed to keep the water at a consistent temperature, which can be adjusted using the control panel. The water is heated as it circulates through the system, which includes a heater, thermostat, and temperature sensor. The heating system is an essential part of the spa tub and is responsible for providing a relaxing and comfortable experience.