Thanks for all the responses. I called in a mechanic and this is what he found. The voltage regulator connection, light grey one, had oil inside it which dripped when he took out the connection. The spark tips were a bit oily as well. He cleaned up the voltage regulator and installed it again and now the issue seems to be with the spark plug which will give an intermittent spark. Also, the battery seems to be not charging that well so I bought Duracell 12V AGM 14L - BS battery.
Will be getting the spark plugs tomorrow.
Unsure why oil is in there on the spark plug
1) If some seal is cracked or something else.
2)Taking out the spark plug for testing and turning the start button will flush gas out from the socket of the spark plug, I think that is how it works for igniting the gas, and if sparks are not working fine it isn't igniting it and becomes oily. Can this be another reason?
The mechanic checked the stator and said it is fine.