This happened to me (it seemed). It went on for a year or two. Every question I posted immediately had a down vote or two within seconds. I brought it up to meta and they ganged up on me. Downvoted and closed questions and answers. It felt like the Elon Musk cult. They did nothing wrong and all fault was mine. I don't know what the word for this type of response is - invalidating, victim blaming, gaslighting, dismissing, responsibility-shifting, etc. But I've seen it in people IRL.
After posting on Meta, I found others making the same criticisms including comic panel writers.
But it's hard to prove. You can see who edits or closes your question. You can't see who downvotes you.
One user kept editing my posts and changing their meaning. Sometimes this user would make improvements fix typos, I didn't mind that but a few times they changed the meaning and so I reverted it back. They weren't facing this issue I was. So I put the original code back in and a note, "Do not edit my posts please". They kept removing the note. Then three mods came in and booted me off SO with a 3 day suspension.
I know we all come from different backgrounds so they feel justified for whatever they do. At the same time some people are not altruistic and petty and they probably were bothering you specifically. My point is, I wanted you to know that it happened to me too.
Mods are not above reproach. You get a certain rep and it's granted to you whether you're good at it or not. Some mod has a bad day and they take it out on your posts. Until they change some things, documented in numerous posts on meta, it will probably keep happening. Show the downvotesusers votes, prevent posts from being edited / lock option, show votersvote down bad moderators, etc.
Having said all that I think it's better than five years ago, but still vulnerable to abuse.