No, the spell causes the creature to move using its reaction, but it will not move into obviously dangerous ground like fire or a pit.