Why collars too, as I never got a good answer how they came about.
It seems that coats were once meant to be buttoned all the way up. Presumably the lapel was for indoor opening, in the way that old military uniforms had coattails that folded up and buttoned to clear when not in use...