Solo 401k deduction

I maximized my contribution to my solo 401k, which brought my refund to about $1100. When I filled that same amount in the box asking what amount was attributable to my business, it went to me owing  about $950. I can only contribute to this 401k because I have my business, so why is that when I attribute the contribution to the business (what else can I attribute it to?), that my ability to use it as a deduction disappears? Thank you.