Songwriters think about melody, lyrics, rhythm, harmony, structure, emotion, and repetition.
Some songs emerge in minutes, while others are rewritten for months.
There is no single correct method, but successful songs often balance familiarity with surprise.