Sex sells. Pretty much anything. Specifically, it sells alcohol.
Beer in particular is often sold with the images of scantily clad women.
It is the choice of so many alcohol advertisers to represent their product with young, attractive women because it appeals to the specific audience that buys their product – men. Often, they go a little farther, and portray their product as the means to a good time.