These numbers are from /dev/urandom or perhaps /dev/null, or maybe they hired white-glove movers and car transporters and flew first class to their destination or something. I moved Chicago to Seattle for like $2-3k all-in (counting plane tickets) in 2017, leaving only couches and beds behind (just wasn't worth bothering to move the cheap Ikea-grade stuff I had). Seattle-Vancouver in 2018 and, a year later, back, were each ~$1-2k all-in by U-Haul and elbow grease, discarding almost nothing either direction.
Moving isn't cheap, but on even relatively junior tech salaries, provided some savings or access to credit, it's truly not a life-altering event the way $40k would be.
Like everything else, moving has gotten more expensive. But I did manage in June of 2022 manage to move from Boston to outside Atlanta for maybe $2500 -$3000 between the hotels, food, shipping my stuff down, gas, etc
That's still considered a luxury moving experience by most. Most people rent a U-Haul for a few hundred dollars and have maybe a few hundred more dollars in gas and hotels.
Moving isn't cheap, but on even relatively junior tech salaries, provided some savings or access to credit, it's truly not a life-altering event the way $40k would be.