to discover someone doing something wrong or something they intended to keep secret
to put someone in a difficult or embarrassing situation, especially by asking a trick question