15% bracket capital gains not 0%

I have sold personal property (bitcoin).  The gains were less than $3,000, long term.  Married filing jointly and less than $40,000 total income.  Why do these gains add to my federal tax due?