Since you were concerned about this thought, it appears you are considering this as abnormal. Also try to understand what sort of interactions happened with you in last three months that could have influenced you on this thought. It could be discussions with your friends/relatives or movies, with similar thoughts.
Next Steps
Try to avoid such negatively influencing interactions. Increase your interactions with happy married couples/friends. watch romantic feel good films.
Health Tips
Please talk to your parents openly. They are the best ones to support in this situation.