I’m not sure of your organizational structure, and if I had to guess it probably is designed to take power away from engineers, but if you’re able to talk to a manager about your near hostile PM it might be a good time to do so so thst someone has your back. Obvious caveat that this assumes your entire management chain isn’t complete garbage, which is a big assumption considering the story you provided.