The reason could be due to a broken thermocouple. The keep-on mechanism in the stove is a safety feature that prevents gas from being delivered without a flame when the gas is ignited.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.