I changed the amount from -3000 to 0 and may tax due went down.Isn't this backwards. Also why can't I offset my loss? Gain isn't capped.
You are correct. It does not make sense.
You need to look at other items on your return that could have contributed to the difference.