what (on earth)/whatever possessed you (to do something) - definition and synonyms

phrase spoken
  1. used for asking someone why they did something when you think they made a serious mistake

    What possessed you to get involved with such a ridiculous scheme?

See also main entry: possess