Do you native speakers see these two as exactly the same?
The pumpkin is cooking.
The pumpkin is being cooked.
If they are not the same, which is closer to 'They are cooking the pumpkin'?
And what do you think the difference might be?
Effectively - none.
The pumpkin ends up cooked.