Original: The music was written by Kurt Cobain, Krist Novoselic, and Dave Grohl (lyrics by Cobain) and produced by Butch Vig.
Simplified: It was written to sound like a song that the Pixies (a band that Kurt Cobain enjoyed) wrote.