Instant coffee foams because it is made by freeze-drying a liquid, which produces a powder with lots of air spaces tucked inside the grains. As the coffee dissolves, the air is released, generating a foam (10).