submitting other state tax for my spouse shows my information from W2

Hi,

I am filing first time  married jointly.

My wife has W2 from MA state and we lived in CA.

I updated CA state tax in turbotax desktop software

when I tried to submit MA state Tax for my wife  it shows my Capital gains and losses.
As per my understanding it should not show my capital gains and losses in MA state. Why is this like this ?
is ths an error in software or something else?

Thanks