Sorry, but the name of the cowslip plant has nothing to do with the lip of the cow.
The English wildflower, the primrose or Primula veris, to which the American plant is allied, commonly grows in cow pastures, and the name pertains to the slip, anciently slyppe, “dung,” among which the plant flourishes.