This is unconventional use, almost to the extent of poetic license.
To write out the action of the sentence using all the words conventionally, it might look more like this:
The beer is a sentient being that pours itself, and during the process, it creates a hazy yellow color and a huge white head.
Presenting it this way makes the beer into a character that takes action, and to the intended audience might make the beer more endearing. Compare this to wine reviews that apply human personality traits to the wines they review.
The presentation also implies that the action of pouring the beer is also an act of creating something new.