I've repaired multiple gas stoves for people. The SiC element which heats up to ignite the gas fails over time. My neighbors were just replacing their stove every time this happened until I showed them how to do it.
It’s about a one hour repair on most ovens if you haven’t done it before. A ten minute job if you have.