It sounds like your instructor doesn't have a good personality for teaching. Instead of yelling at you, they should instead be constructive in their criticism in a way that allows you to improve and not be intimidated by someone's attitude.
Tell them this for their own benefit and if they take it well, then maybe you can keep flying with them. If not get a new instructor. I think however, an instructor needs to know where they need to improve just as the student does. Teaching is a skill as is flying.