It was a business decision by the bank to make the loan. They profit when things work out and lose money when they don’t. Just a business decision by both parties.
Where is becomes fraudulaent is when people lie or decieve the other party from the borrwer standpoint or when people are encouraged to lie from the broker standpoint.