If the IDF are 'minimising' civilian casualties and have in place mitigations to achieve that aim, why would you flatten a whole building when the only threat coming out of it is single missiles from one small part of it. Not exactly a surgical strike is it?
When the Russians target civilians claiming they are aiming for military targets, the world is outraged - when the Israelis do it, some people applaud. Some sad individuals.