In different situations, the question “Why don’t you close the door?” has different meanings. When a student just came into the classroom and left the door open. The teacher says this to the student. In this situation, the function of the question is a command.