Why do dogs roll in smelly things?

In-stink tells them to.