it is a slang expressing shock or disgust about something. it is a child friendly term and can be used by kids instead of using vulgur slangs like "wtf" or gen alpha slangs like "what the skibidi".
"Tillie what in the soggy sock did you do to my dress?"
"Sora: That rap part was such a soggy sock, who considers it as art."