Cats knock stuff off tables because they're studying gravity. They're not jerks. They're scientists.
Machine wash, cold (30 °C / 86 °F). Do not bleach or iron the socks. To reduce damage, line dry. They will last longer if you keep them out of the tumble dryer.