After converting a world from 1.12.2 to 1.13-pre9 some of placed pumpkins lost their faces, but others did not. It seems to be that pumpkins placed on grass blocks get converted to uncarved pumpkins, so that naturally generated pumpkins in 1.12 could get transformed to uncarved pumpkins in 1.13.
Linked issues
duplicates 1
Attachments
Comments 2
Duplicate of MC-123143
When a pumpkin is on a grass block/dirt, it won't have the face; it's assumed it's naturally generated/from a pumpkin stem.