Loki has lots of kids. Basically, the gods challenged this giant dude to make a wall yeah? And the gods were like: "hah, you can't make this wall fast enough". Except the giant had a pet horse who was real strong and helped the giant out, so the gods went: "Loki, go take care of it like everything else." So Loki 'took care of it', the giant failed, got angry and tried to kill the gods, and promptly got smited.