They did nothing wrong, they meant to be evil, otherwise the TVA would have
stepped in and melted them.
Congratulations to the "writers" of Loki, who managed to ruin and destroy dozens
of movies and TV shows, by creating an organization which makes sure only one
pre-determined lifepath exist for everybody. No free will!