The newer retcons of the Scarab explain it as a piece of living alien biotechnology. The Scarab chooses a host and then grants them incredible powers, whether the host likes it or not. The Scarab also is under no obligation to do what the host wants, though it does always attempt to protect the host.