From the brightness of the light of course. If the brightness is increasing it means the the light source is approaching and if the brightness is decreasing it means the light source is leaving.
They would most likely be metamorphic. "Lava" refers to magma (molten rock) that has reached the surface, igneous rock is sourced from magma and lava, and sedimentary rocks are formed at the Earth's surface.