I often hear questions where a phrase marked with は is moved to the end of the sentence:
I heard the second sentence above in the anime となりの関くん. A student has just made a loud sound in the back of class, and the teacher asks this question out of irritation.
My question is, how is an inverted question like this different from a sentence with basic word order? Does it differ in terms of emphasis?