It's not truely known.
Dionysus appeared to Theseus as they sailed away from Crete,
saying that he had chosen Ariadne as his wife, and demanded that
Theseus leave her on Naxos for him; vase-painters of Athens often
showed Athena leading Theseus from the sleeping Ariadne to his
ship.