Rick Riordan said this quote

Nico wasn't sure whether to kick himself or Will Solace. If he hadn’t been so distracted bickering with the son of Apollo, he would never have allowed the enemy to get so close.