Its much easier and cheaper to install above ground than in the ground. Bonus points you could open it to Electrical trucks for emission free cargo in the city.
Rail systems are not necessarily more reliable (at leats tram vs bus I mean), I do love the aesthetic of trams, and they are also more efficient due to the small rolling resistance.
And it is definitely easier to transition into trolley than it is to transition into tram.