This probably means that something you had planned to turn out well, ended up going against you. The scenario flipped it's self around and you were so said "betrayed" by your own plan or game.
I’m sorry but no one is gonna write a 5 paragraph essay for you.
Answer:
I think the correct answer is Julie is excited because she bought a wining lottery ticket