Operating public transportation in these areas is not against the law, because the law does not prohibit such public transportation, because it is operated privately by cities in Israel (and not by the transportation companies operated by the Ministry of Transportation), and because there is no charge for the ride (and if the Knesset would legislate a law regulating public transportation on Shabbat, the rides will cost money, because those rides will be officially considered public transportation in the law).