Types of defective fulfillment

Facts: A painting company A undertakes to paint Ms. B's apartment, but shortly before the work begins, the apartment is rendered uninhabitable by a fire. However, the painting company has already ordered and mixed the paint.

Question: What is the breach of contract?