If you read the article, it's not a statement with entirely no merit.
The engineers prioritized an algorithm which is far more likely to be useful in real world scenarios where you keep trying to cram a bunch of stuff in the frunk and close it (who hasn't done this?) rather than the edge case of repeatedly testing it with vegetables until you stick your finger in it.
This is why you keep your safety features consistent. If they want bag close mode, then make it where you hold instead of press a button or something. It "happening automatically" is just unpredictable to most, not magical
In addition, what if the person noticed the obstructions and then moved them away, and then accidentally got a finger in there? That's a realistic scenario too.
There should be no algorithm. It should be done by a human. There are no amount of lines of code I will ever make up for knowing intent and what the current situation is.
If it's going to be closed by software it needs to prioritize safety 100% of the time. If more pressure is needed and that pressure needs to come from a human.
Youre constantly forcing your trunk closed? That doesn't sound normal to me actually, and sounds like the opposite of what I would want. Hello, groceries, important things, stuff I don't want stolen so goes in the trunk?