Complex sentence: This froth then hardens, creating a protective capsule, which together with the egg mass is called an ootheca.
Split into simpler sentences: This froth then hardens, creating a protective capsule. The protective capsule and the egg mass is called an ootheca.