It would be great if it wasn't a war, just measure output or equivalent objective measures, but like religion (which wars have also been fought over), belief systems die hard. Mental models are rigid, emotional health is not always available to everyone, and so on. Loss of third spaces doesn't help, and your cohort of workers who demand in office time because that is the only socialization they get (or those who are fleeing their home life by going to work) also contribute to the friction.
Similarly someone who do work less at home typically is someone who can't be productive anyway, who sell his/her own time/presence but not much competence, again that's not always true but I'm pretty confident it's true in the mean.
However the real war is not about being remote or in person, but live in cities vs live outside, because with WFH as the way to work for all eligible jobs the big of real estate go bankrupts quickly, similarly many bit tech service player like Uber, Just Eat and so on, together with the cloud+mobile model. The rest is marginal.
Some do like the office because they have tough familiar situations and being "separated" for a significant part of the day means for them have a way to keep their family, witch sounds good for them, but IMVHO it's just a way to torture themselves more, some other do like the office simply because they can't afford a good home and they have a better setup in the office, again it's not a good thing to have IMVHO but all such examples are marginal.
Well, if you're slacking you can be fired, it doesn't matter if you work from home or from the office.