Loki wanted to see you again. So he decided to visit midgard.
"Loki what are you doing in my room it's 04:00 in the morning"
"Hush my darling I just wanted to see you again"
"But my parents are downstairs"
Loki took his shoes of and quietly stepped next to you, wrapped his arm around you.
"Goodnight my darling"