Because sometimes the woman isn't really pregnant. That "baby bulge" is a bomb in her pants.
If Israel lets a bomber into Israel, mass murder results.
If Israel delays pregnant women at checkpoints, it is accused by human rights NGOs of callous disregard for human dignity.
Naturally, Israel opts for the second choice. But there is a cost.