Note that the difference is not necessarily obvious. I was once in several classes with a guy who would ask questions that were just slightly off-topic and odd---possibly about differing interpretations, possibly just trying to completely derail the class. I still don't know which of the two cases was right. I do know he managed to drag the class so that we missed rather a lot.
Quite, and I'm sure that many actually inquisitive students are shot down enough to beat the inquisitiveness out of them, on the errant assumption they are a smartass.
I'm also sure that a student who is one day asking a genuine question, is the next day beign a smart ass. I certainly used to do that.
Kids are terrible. When there's 30 of them in the room, half of them who don't want to be there, it's even worse.
AI classes, by the way.