The Golem is a constructed creature, made of mud, and its consciousness is lent to it by its maker. As it is not “true” life (according to magic users, anyway), it cannot actually be killed, only destroyed, at which point that consciousness supposedly flows back to its maker.