Sorry to hear that, and we have a lot of things that try to prevent that from happening, but seems something went wrong and nothing caught it. Not sure why. Perhaps you are using the fork android app that does something foolish?
However, syncthing is not a backup system. It’s a system that makes two computer filesystems look the same, so by definition its not a backup system, and you’ve discovered first hand.