Answer:
remember the ways in which the heat is transferred:
Conduction: Heat transfer of two objects touching.
Convection: Heat transfer in a medium with a gradient of temperature.
Radiation: Heat transferred between two objects that not touch each other (an example of this is how the Sun heats up the Earth)
First, we start with the gas itself.
It has a lot of pressure, so when you open the knob, the gas can get out.
The has chemical potential energy.
When you combust the gas, you transform that energy into heat energy, as the flame touches the pot, it starts o also heat the pot.
This heat energy is transferred to the pot, which transfers heat energy to the water by conduction, the heat in the water is "distributed" by convection, and as the water starts to heat up, the energy is transferred to the egg by conduction.