Gases expand more than liquids and solids because the molecules of gases because the molecules of gases are seperated from one another by wide spaces. When gas is heated (heat is a form of energy) its molecules began to vibrate fast and as a result begins to move away from each other.
In the case of liquid they are not allowed much movement becuse molecules are closer to each other than gases.
For solids they expand the least when heated because the molecules are most tightly packed. they keep on vibrating their fixed position.