Opening new lines of credit during the home buying process risks the lender backing out, leading to the loss of the deal and the earnest money deposit.
"if they see that you're doing weird things with your credit at the same time they're offering you a bunch of money they could back out the deal forcing you to restart the whole loan process or even have you lose a deal in the first place which can mean you might lose your entire earnest money deposit"