In those quotes is not clear that God is the creator of them. It talks about the punishment that the protagonist of these books applies to people that according to him are rebelling against him.
You have to think that the book is written in a point of view from the protagonist of the story and tries to represent how he views those who rebelled. Is obvious that he will try to justify his views.