The joke is a play on words.  'Stank' sounds like 'sank' which would make the phrase make sense as 'sank to the bottom'.  Skunks are known for being really pungent smelly animalsy, so the word was replaced with 'stank'.
A skunk fell in the river and stank to the bottom .