2022 Taxes

I was wondering why when I do my taxes and say I'm single I get money back, and when I do my wife's taxes and say she is single, she gets money back, but when I do the taxes and file together or say were married, we owe thousands of dollars?