The Hulk's near-mindless rage is typically portrayed as a result of the damaged subconscious of Bruce Banner. He's had better luck controlling/directing the Hulk when he's more mentally healthy. The movies dont really get into it, but the Hulk isnt really a separate person from Banner, just a different aspect of the same mind.