Is it legal for husband & wife filing separately to each claim 50% of capital gains & looses from a joint investment account?

Our tax preparer divided the capital gains equally between my filing (married, filing separately) & my husband's (married, filing separately). The investments are held by both of us in a joint tenant account. We have now received a letter from the IRS that my husband didn't declare correctly. But I didn't any notification.