Unfortunately, "work is other people". At least I think that's the quote. Definitely something along those lines.
Less glib: I've always found the technical part of work to be by far the easiest part of my job. The computers do what they're told and when they argue with me, it's deterministic, unambiguous and consistent (at least from its perspective anyway).
People are a lot more complicated, and they seldom know what they want, what to build, whether they know enough to recognize what to build, whether they know they know enough to recognize what to build, etc. they have feelings that can be hurt, friends who they want to defend, opponents they want to see suppressed. I could go on.
Maybe I've somehow only worked in dreadful, dramatic hellscapes, and I wouldn't necessarily disagree with you? But also I think politics is what happens when more than 3 people want to work together, and so it's an inherent aspect of work.
Sorry, this has been a bit rambling. My point is that, while sure you don't need to do bowling night every week, I do find that a zoom call with your teammates every other week with no agenda other than to chat is ridiculously effective.
And sometimes your best work can happen after you both accidentally give and receive therapy while at work. Everyone is the main character of their own story and knowing how even the work part of all those individual main stories connect can be really useful insight.