Miss Laura, I found the following blog article a while back and you may want to read it.
Bipolar Disorder with Obsessive Thoughts & Behavior - NAMI Montgomery County, MD - NAMI Montgomery County, MD I found it because my bipolar disorder also sometimes creates obsessive thinking and behavior. The point someone made about stress and coping is also on target for the likely causes. I don't have OCD, but when greatly stressed, some behaviors may seem slightly so. What we do to cope varies. Some healthy, some not, and some skirt the extremes.
I've definitely had obsessions like yours. My goodness, people wouldn't believe a period of obsession with my former psychiatrist! And during an equally hard time an obsession with the movie and book
Pride and Prejudice. Then I fell into an extreme period of maladaptive daydreaming! They were in some ways relatively innocent obsessions, in others detrimental to my well-being. I could describe some of the detriments, if you want. The whys and hows these started are a little complex, but loss/grief (of various sorts) was involved.
I did get past the above, at least for the most part. Especially the maladaptive daydreaming. I now more often use healthier coping skills. Don't get down on yourself, though. Consider starting to curb the tendencies by deliberately planning other activities. You might take the advice of focusing on the grieving process in therapy. Grief and loss are among the most painful experiences in life. All here have experienced some (or will), to varying degrees. Many here have sadly lost one or both parents and/or other extreme loved ones. You're not alone.