Has anyone tried to talk to the teacher about his/her attitude? It is possible the teacher is dealing with personal problems outside of school. Granted, it is unprofessional to let such issues affect the students, but it happens, and is often remedial. Maybe if the student is cautioned not to take it personally, they can approach the class with a different outlook.
It seems a universally disliked teacher is likely not an effective one. Therefore the administration should be made aware that this teacher could use more personal skills and/or communications training.