Most of the work happens before the tub or pool is filled. The panel needs room for a large dedicated breaker, a disconnect has to be mounted where it's visible from the equipment, and the circuit has to travel safely from the house to the pad.
We plan that route around patios, landscaping, and buried utilities, and size the wire to the distance as well as the load. A long run to the back of a deep lot needs heavier conductors than one alongside the house.