Snips and Snails decide to write a shipfic about their two all-time greatest heroes, the Great and Powerful Trixie, and Rainbow Dash. Because that's what fanboys do.
Natrually, a true piece of literary genius is produced as a result. They may have even got Cutie Marks for it, had they not already discovered their special talents.