In Japanese, they’re called “ita-bag” (痛バッグ) or, rather, “painful bag.” And for the country’s female geeks, they’re one surefire way to express their fandom.
One of the most famous (infamous?) anime underwear tropes for female characters is light blue and white striped underpants. Male characters, it seems, have a similar trope.