A seashell is basically an open-closed tube rolled up.

Explain why you hear a roaring sound (the sound of the sea) when you place a seashell (or any other kind of tube) up to your ear.

Your first sentence explains it. What teacher gives you the answer a resonant tube (organ pipe), then asks you the question?