The building is the borrower
On a condo, conventional underwriting reviews the project as well as the buyer. The homeowners association completes a questionnaire, and the answers are checked against agency requirements. Fail any one of them and the loan can’t be sold to Fannie or Freddie, so the lender declines, regardless of how strong you are.
This is why the decline feels so arbitrary. It usually has nothing to do with you.