Do I have to pay taxes in multiple states as an independent contractor?

Hello, I'm an Ice hockey referee and categorized as an independent contractor.I live in Maine but I officiate a lot in Massachusetts. I received two 1099's from organizations in Mass. When I file my return will I have to say I made money in other states? Also, I officiate youth hockey games in Maine but I'm paid by ref pay which is a company out of UT. Do I have to pay taxes in UT because I'm being paid by this third party vendor even though I'm officiating the games in Maine.