Israel isn’t the reason why the trains between Iran and Iraq or between Lebanon and Syria aren’t running.
None of the infrastructure nor even the routes would be viable for a modern railroad infrastructure, blaming Israel for the utter lack of investment in infrastructure across the Middle East is laughable.