One must have a very warped understanding of Marx to claim he didn't advocate for materialism. Are you unfamiliar with his dialectical/historical materialism?
Materialism is the view that everything is fundamentally matter. Historical materialism is almost the opposite. It's the idea that there's some supernatural force guiding human history.
To quote Bertrand Russell:
> His belief that there is a cosmic force called Dialectical Materialism which governs human history independently of human volitions, is mere mythology.
Another quibble: I don't think Marx thought of it as supernatural in our sense of the latter; rather his sense of the natural (like that of many of his contemporaries) had an element of what we might call the supernatural, located in a certain directedness or inevitability.
I guess where you see Marx as an early advocate of modern relativisms, I read him as deeply bound up in positivisms fashionable at the time. Maybe these are not contradictory positions.
But you're right to raise the question. A closely related question is: "If Marx thought the revolution was inevitable, then why did he feel the need to advocate for it?". You can also ask this about any sort of prophecy: manifest destiny, the second coming of Jesus, the singularity, etc. There's of course a literature on this, e.g. [0].
But people do in fact hold both views simultaneously. A famous example is Karl Rove, unintentionally echoing Marx's ideas:
> We’re an empire now, and when we act, we create our own reality. And while you’re studying that reality — judiciously, as you will — we’ll act again, creating other new realities, which you can study too, and that’s how things will sort out. We’re history’s actors . . . and you, all of you, will be left to just study what we do.
In other words, we construct reality and it's inevitable that we construct reality. Both historical inevitability and social construction in the same thought.
> I don't think Marx thought of it as supernatural in our sense of the latter
I doubt he did either, but it's supernatural in the literal sense. It's not entailed by the collection of physical laws. In fact his theory is empirically false, but even if it wasn't, the existence of a causal force in history requires an additional assumption outside of natural science. Whereas other authors had previously talked metaphorically of a spirit of force in history (e.g. the invisible hand) Marx tried to turn it into a real force the way the ancients thought of gods intervening in human affairs.
[0] "Historical inevitability and human agency in Marxism" https://royalsocietypublishing.org/doi/abs/10.1098/rspa.1986...
Modern science disagrees:
https://www.goodreads.com/book/show/83817782-determined
Warning: ego might get bruised
The people who seem to hate/misrepresent him tend to be capitalists, philosophers, religious types, and generally egotistical "individualist" types.
Materialism is an extraordinarily overloaded word/concept.
OP's proposing an idiosyncratic take on Marx's reading of one of his main influences seems rather more in the dialectical spirit than a no true Scotsman (no true Marxist? ;) flung without substantiation. No offense.
Given Marx was famously "not a Marxist", and given the laboriousness/verbosity of his writing, and his tendency to change his mind over time, you could argue he had merely the first in a long lineage of warped understandings of himself.
Misrepresenting words out of context to make a point isn't a great approach.
http://isocracy.org/content/karl-marx-i-am-not-marxist
https://www.socratic-method.com/quote-meanings-and-interpret...
The most relevant piece is probably Theses on Feuerbach. Feuerbach advocated a materialist (e.g. essentially naturalistic) point of view to which Marx objected.
His basic argument is that it doesn't make sense to talk about an objective materialist universe. That point of view leads to middle class society. His own point of view isn't really coherent, but it's essentially that humans create the objective world and truth through interacting with it.
To me it feels like what he's trying to do is try to take German idealism and apply it to groups of people rather than single people. Conceptually you get a sort of Cartesian solipsism at the social scale. But you can read it and you may get a different take away from it.