I got paid with a stipend for an internship while working in Mississippi but my 1099-MISC has a return address of Maryland. Which state should I pay taxes in?

I got paid with a stipend for an internship. I was working in Mississippi, but my 1099-MISC has a return address of Maryland, neither of which is my state of residence. Which of those two states did I "earn money in" for the sake of filing my taxes? (nothing was withheld so it's not a return).