I have two decades of experience in programming and my boss treats me as a junior when I ask questions. He will explain like I'm either very junior or a 5-year old.

It feels a bit disrespectful that he thinks he needs do dumb down anything he says to me.

If I were talking to someone experienced in that way, I'd surely be behaving in a passive-aggresive way. I wonder if he's extremely annoyed at me and this is his way to show it.