A pot of water is being heated on the stove top the water molecules closest to the burner rises in the pot when they gain thermal energy explain why water rises

The water molecules closest to the burner rise in the pot because as they gain thermal energy, they become less dense. When molecules of a substance are heated, they vibrate more rapidly and spread out, causing the substance to expand. In the case of water, as the molecules near the bottom of the pot gain thermal energy from the heat source, they become less dense and lighter, causing them to rise to the top of the pot. This movement of the warmed water molecules creates a convection current, where cooler water moves down to take its place, in a continuous cycle as the water heats up. This process, known as convection, is what causes the water to appear to be rising in the pot as it is heated.