A fire in a coal bunker weakened the hull plates that collided with the iceberg. Fire and ice, fatal combination.
That fire is also what made them run a a speed too fast for conditions. The Titanic was already on borrowed time.