Why would poets want to write dirty songs that would never leave the pub or the ditch, when they could write nice songs that would go into general circulation?
Because
a) They weren't poets
b) They wrote for the amusement of themselves and their friends
c) 'Nice songs' tend to be really dull