Question: what is the relationship between viscosity of magma and its temperature?
Answer: Viscosity of magma, the resistance to flow depends on composition of the magma and temperature. Higher silica content means higher viscosity. But lower temperatures and low gas content mean higher viscosity. Hence, lower viscosity and low gas content mean higher temperature of magma.