ELI5 Why this train line in Switzerland loops so much?

r/

Google maps the train from Ersfelt Bahnhof to Hospental