Question: in the pre-main sequence stage protostars shine by
Answer: gravitational contraction