The IDF certainly does not pinpoint mosques on purpose just for the sake of hitting them. The war is to wipe out the weaponry of the terrorist Hamas regime and bring an end to their constant 8 year bombardment on Israel. Hamas puts its guns, rockets, etc amid civilian areas, and evidently the civilians do very little to leave the sites. Again, they use this as ammunition against Israel. Israel is not indiscriminate in its attacks against their strongholds, but knows where weapons are kept.