I had a German Shepherd eat one of my socks.He passed it whole a couple days later.
He only ate your sock because he loved you so much!
I had a dog eat one of my garden gloves one time. I didn’t find it until I was picking up poop in the back yard. It was not intact so I was not able to use it again, like I am sure you did with you sock.
My dog is an elitist. Rufus the poodle was licking what was left in the bottom of the cream cheese container and instead of acting guilty when caught expected me to share a bite of my egg bagel to wash it down with.