Loki has a connection and a deep grudge against Shanks. Here's why ... the story that Loki possesses a special 2.6 billion berry Bounty. This bounty is absolutely massive, but more than that ...
So, as has been established already, Loki's bounty of 2.6 billion berries was given to him about 6 years ago, which is also when Shanks rose to Emperor and most definitely had his own territories ...