It sounds like it was inspired by the "Choose Your Own Adventure" series of books[1] from the '70s and '80s, but digital. I've wondered why this style of storytelling is not more popular, especially since a digital format should make it easier to compose and allow more flexibility with the decision tree.
[1] https://en.wikipedia.org/wiki/Choose_Your_Own_Adventure