Deductions & credits

Your tax liability is that which you owe despite what was withheld. Correct? Or is what you’re saying is you have to have more tax withheld. So if your income is such you owe $15,000 in federal tax, then you can qualify for both rebates even if your tax withheld is more or less. Is your gross income or agi  that matters. Is this right?