Made for the outdoors
Outdoor lights need fittings rated for the weather, cabling run and protected properly, and a safety switch on the circuit. That is how they survive Queensland summers and storms.
Garden and pool lighting can run on a timer or a separate switch, so the whole yard comes on together.