He rested? God rested? God needs to rest.
You mean he gets physically tired?
More likely this was thrown in by the human writer who thought that God SHOULD have been tired.