Post-crash investigation is much worse than with plane crashes, and also measures taken. We had an accident in 2013 (https://es.wikipedia.org/wiki/Accidente_ferroviario_de_Santi...), 80 death. "Investigation" was only to decide who goes to jail, and surprise the driver goes, with another guy from Renfe Safety department. It was also decided to change the ERTMS, with 60m € budget. AFAIK, still uninstalled.
If that was a plane crash, rarely pilots are to take all the blame and even if they are the main cause, the recommendations would be to add more training, more off time, redundant measures to help the pilot or overcome their mistakes and they usually do deep investigations that end in plane redesign / retrofit, changes in routes, adding safety equipment, etc. It never goes "human error", and close the report.
With the current news this was not a manteinance issue (that might be a problem anyway), but a failure in "control tower" that put two planes in the same runway, with one of them stopped in the middle. It is beyond logic how two trains can be in the same railway closer than X distance, even with human allowing it, instead of having a TCAS-like system.