Looking at the wipeout through a rail and planning lens, I suspect a major reason was how Labor boxed themselves in by trying to force density in the east while leaving the western rail network in the too-hard basket. It appears that they have angered both sides and won nobody.
My hypothesis is the whole "activity centres" idea started as a demographic engineering project rather than genuine urban planning. Plonking 10+ storey high-rises right on top of train stations in safe Liberal seats like Brighton, Hawthorn, and Malvern while stripping away local appeal rights, does look like a attempt to pump younger, Labor/Greens-leaning apartment renters into conservative heartland.... Which LNP detected and promised to cancel, and densify the Green seats instead for the same "demographic engineering" purposes.
The SRL East fits right into that same picture. On its own, an orbital rail loop isn't why they lost, it's more a symptom of that exact same mindset: pour tens of billions into reshaping the middle-ring east and south-east around new high-density hubs, hoping the demographics shift over time. Instead, it just alienated local eastern homeowners who felt steamrolled, and gave Jess Wilson a massive free kick on local planning controls.
Meanwhile, Melbourne's west got completely taken for granted. Because seats like Werribee and Point Cook were treated as "safe," basic local progress just stalled out; look at East Werribee sitting there doing nothing despite being state owned land, shovel ready for densification and development next to Hoppers Crossing station (there is no need for young people to move into a safe seat!) while western suburbs commuters dealt with overcrowded V/Line services, missing electrification, and endlessly delayed rail upgrades. People out west didn't suddenly fall in love with the Liberals, they just got sick of watching every transport dollar go east while their own backyard was ignored. The warning signs were already blaring in the Werribee by-election last year, and yesterday the red wall finally cracked.
Throw in the lingering distrust over the Big Build blowouts and CFMEU mess, and I think Gabrielle Williams was probably alluding to as well on tv, and voters just stopped buying the "big infrastructure" pitch altogether. When they tried to engineer eastern seats with forced high-rises and ignore your western commuter base, Labor ran out of track pretty fast.