Teacher: Given scientific fact as input, generate the question from this fact such that it can be answered from the input.
Teacher: Now, understand the problem? If you are still confused, see the following example:
Earth rotates on its axis once times in one day.
Solution: How many times does Earth rotate on its axis in one day?
Reason: The given output correctly poses a question based on the scientific fact given.

Now, solve this instance: When magma reaches the surface through cracks in the earth's crust, a volcanic eruption occurs.
Student:
When magma reaches the surface through cracks in the earth's crust, what occurs?