It would help to know what year and model you are referring too, see how most of us are not mind readers.
You are saying your bike doesn't start, and you want to know why? Anyone can guess all day long and be wrong. Guessing gets to be expensive, time consuming and aggravating at times. Garbage info in, Garbage info out.
If you have a proximity alarm system, then a dead fob battery could also cause this problem
Good luck with your issue. I'm sure with proper diagnostics you will figure it out.