There's no operating rail between LA and Phoenix, freight or passenger. Union Pacific rerouted freight away from Phoenix decades ago, Amtrak followed suit, and the previously used rail line that connected LA and Phoenix is out of service. See
https://en.wikipedia.org/wiki/Phoenix_Subdivision_(Union_Pac... and
https://www.arcgis.com/apps/mapviewer/index.html