They will, but not for free.
You will need to pay an out of warranty fee to get it replaced.
If you have Apple Care+ the accidental damage fee under it is substantially lower than the out of warranty replacement fee.
See here for pricing in the U.S.: iPhone Service Pricing - Apple Support