Once you get to a certain level and you've almost cleared it, the game throws you out, making it where you have to start that level over again rather than moving on to the next level. Definitely a glitch or a bot doing this on purpose forcing you to spend money on in app purchases.