I was taking algebra for the first time. The class I had before my algebra class was swimming which was at the complete opposite end of the school. So I had 10 minutes to dry off, put my clothes back on and make a mad dash to algebra. I would usually arrive at class just after the bell rang which made me chronically tardy. The teacher made no bones about not liking me. I would raise my hand to ask a question and she would say, "What a stupid question. Any idiot would know the answer to that." I managed to get out of her class just a few weeks after catching a whiff of her hatred. But, all my desire to really learn algebra left me. I homeschooled my kids until they had to do algebra. I did not want any of my negativity to rub off on them.
You sound like a peach of a teacher.
There is no such thing such as a stupid question. We learn by asking questions. Your teacher was an a$$. I love it when a student will ask me a question that I don’t know the answer to give them. Many of the math formulas that I’ve created, and discovered is because of students questions. Any teacher who won’t answer a question, is not a real teacher.