Male Spaces
You mentioned in a comment that you are taking an auto repair class and you are the only girl. My first impression is that the guys in the class consider the auto repair class a 'male space' since it's pretty much all guys who take the class.
Girls enter that space at their own risk meaning that they aren't going to change their behavior for a girl. I would imagine that they don't act like that in Math or English.
Having said that, if you were someone that they really liked and wanted to impress, they would change their behavior for you. Since you issued this challenge that appears to not be the case.
So hang in there, the end of the school year will come soon and you wont have to worry about it anymore. Sometimes patience is the best course of action.