It is the character who likes you the most overall at that point who chooses to accompany you.
In the full game there will be more opportunities to spend time with the other characters as well. And however the rooftop scene plays out, you are not locked into any specific relationship yet.