I’m a burden to the company?

My (male) boss told me today my pumping is a burden to the company. He’s been treating me very different since I have been back at work and I’m honestly very offended after that comment today. He has also said he is accommodating me a lot by letting me pump. Is that right? Do I have the right to be offended?