The higher payment counts against your qualifying ratio
“The monthly housing expense used in qualifying includes principal and interest based on the actual terms of the mortgage being originated.”
Choosing a 15-year term directly reduces the loan amount you can qualify for. Two buyers with identical income can be approved for very different prices based on term alone.