The best term I have heard about those types is psycho(female dog).
Worked with a few of them.
Best to leave them very well alone.
I went 110% percent to stay in the ever changing lines, rules, and policies and it made no difference.
At the time I was having some problems with my health affecting my energy and some other stuff. The answer wasn’t found until after I left a few months later and I did my best to make nice. But I should have (would have if @ 90% or better) realized that making nice with the office bully is impossible.
The only other real alternative I had wouldn’t have worked since she had piles of documentation (how much real not sure) about how poor a performer I was always at the ready to wave around. For a while sometimes it seemed that I had to second guess my own name. No matter what, there was always a fault and it was world ending.
Anyway that was a few years ago and while the employment situation isn’t that hot at least I work in a sane office with sane people who mind their own business. Before that I was doing a ton of IT contract work and enjoyed most of it.
I have one other theory about her behavior but it is on par with a conspiracy mindset but knowing how some PHBs are sore losers I would almost rule it credible. It involves a little matter at another state agency in which I won no question and cost a department some bucks to upgrade me and a few others.