When God asked Adam, “Where art thou?” it was embarrassing to him, because he was in the wrong place and had done the wrong thing. He had disobeyed God.
When God asked Cain, “Where is thy brother?” it was embarrassing because of his sin.
In the parable of the marriage feast, when the king asked the man who did not have on a wedding garment, “Friend, how camest thou...