I've noticed that whenever nouns lose their first vowel as suffixes are attached, the final o is added to a preposition. (e.g.лев; лёд;сон)

For example:
со львами
подо льдом
во сне

Sometimes...