Do I have to pay taxes on a one-time inheritance Soc Sec deposited to my mom's acct late May, she died mid May so they withdrew it and paid it to me and my sister?

I got a SSA-1099 for the amount I received, but it should be my mom's income and my inheritance, not my income.  She was entitled to the payment since it was for April and she lived all of April.