The Garden and the Bazaar Are Two Different Things
This trips up a lot of first-time visitors: Yu Garden itself is a ticketed, enclosed classical Chinese garden built in 1559 as a private retreat for a Ming dynasty official's family, and it is distinct from the sprawling, free-to-enter Yu Garden Bazaar that surrounds it — a dense maze of traditional-style shopping streets, snack stalls and souvenir shops that most people photograph and assume is the garden, when it's actually a separate commercial district built around the real attraction.
The garden proper is a genuinely well-preserved example of classical Jiangnan-style landscaping: rockeries, ponds, pavilions and covered walkways designed to create the illusion of a much larger space than its actual footprint, using borrowed views and winding paths rather than straight sightlines.