Because it was known in ancient and medieval times that a solar eclipse could not take place during Passover (solar eclipses require a new moon while Passover only takes place during a full moon), it was considered a miraculous sign rather than a naturally occurring event.
The Gospel of Luke account appears to describe the event as an eclipse, and some non-Christian writers dismissed it in these terms.