Turning a statement into a question automatically swaps its subject and object.

Past-Tense Verbal Questions