The problem is, that god can do something about it, he can do anything, can't he? If I know that my house will get burned tomorrow and I can prevent it then I will just prevent it, it makes no sense to not do anything about it knowing it's going to happen and then get angry, why would I be angry? It makes no sense as I said. God makes no sense.
If I knew my kids will mess up their lives and I can do something to help them then I will just do something to help them, considering god can do anything then again makes no sense.
This is exactly the point. God made Jesus salvation to help his children. God's anger begins with frustration, and ends with departure.
Why is God frustrated? Because He made the way out for
Astargath, and
Astargath simply won't accept.
Astargath: Me wanna do it my way. Why God not let me do it my way? Sure, God made it all and owns it all, but God bad because He not let me do it my way.
Things work the way they work. Be glad God made a way out for you, and accept it.

He would have made them smarter to not commit sin in the first place (And why did he even test them in the first place if he already knew they would fail, like why tell them not to eat from that tree when he already knew). As I said, god is either stupid or doesn't exist (the second option seems the best). A god cannot be frustrated or angry or really have any other emotion. A god would not have emotions because that would also make no sense. How can you be frustrated when you can literally change and do anything? Do you not see that? What can you be angry about if you already know everything?