The source of the problem is that these ride-hailing companies want to expand so fast, that they do not perform any substantial screening for their drivers.
Another ride-hailing company, Hitch, was suspended for this reason.
Likely they do this for liability reasons, not safety reasons. Because if a female customer is not able to get a taxi ride after 8pm, they have fewer options for transportation.