The refund is a gap, not a windfall
Every paycheck sends part of your pay to the IRS as estimated income tax. The return at the end of the year compares what was sent with what was actually owed, and the difference comes back as a refund or has to be paid as a balance.
That is why a $3,000 refund is not a gift: it means about $250 a month was withheld that was never owed. The same logic runs the other way - owing at filing means the paychecks withheld too little, and the gap has been quietly building all year.