It's come to Rarity's attention that Twilight doesn't know the finer points of royal etiquette yet, so she gives her a few lessons on how to dance like a true princess would.
It's not like she has any ulterior motive for asking Twilight to dance under a romantic, starlit sky... right?