what was someone thinking

Phrase

 * 1)  Used to express disappointment about someone's uncharacteristic or abnormal past actions.
 * What were you thinking when you left the oven on yesterday?