May it be that trained workers are more important than a production building?
But likely, 2 planes hit the factory, and one missed. Only the miss that hit residential area is reported by government. I see this type of news all the time in Ukraine: "russian rocket hits a maternity hospital", while there is a huge factory in 300 meters that gets hit regularly, with no reporting about it.