Thanks, Katherine! Although I’m far from talented.
I wish I had a knack for music, but my skill comes from years and years of making mistakes and learning from them. Composing is actually easier for me since I read sheet music at a snail’s pace. 
Sometimes a strong memory or emotion moves me to compose, but most of the time I’m just struggling with learning a song (or getting bored with it), so I mess around and accidentally create something new in the process.