I ran into this same confusion when I first started using adjustment layers, so I get why it feels odd. The key for me was realizing that copying the pumpkins to their own layer does not stop an adjustment layer above them from affecting everything below it. I now make sure the adjustment layer sits directly above the pumpkin layer and clip it to that layer, so it only changes the pumpkins. That also explains why your selection-only version worked, since the selection acted like a mask for the adjustment.