If your arm is hanging outside the window and the vehicle is actively rolling, you're likely going to lose that arm.
Otherwise, based on all the other logic described, the decision to roll the windows up probably takes into account if there's an obstruction (just like auto-up windows do).
It will help keep your head from bobbing outside the vehicle as it rolls, preventing your death from a crushed skull.
Edited to add:
"partial ejection" are the magic google words. Here's an example:
"It was found that, in standard impact tests on high containment barriers, partial ejection of the head through the side windows occurs systematically"
If you're in a rollover you won't have great control over your arms in the first place, so if your windows are open there's a good chance they'll be going out the window at some point. If you watch professional drivers in accidents, they attempt to cross their arms across their chest to keep them from flopping around.
I'm not sure of the official reason, but I'd imagine it prevents ejections (or worse, partial ejections) from the vehicle.
I was the first person on the scene of a rollover where a woman was pinned underneath the car (fortunately only suffering broken bones) because she was partially ejected through the open window.
As someone who frequently drives with my arm out the window, that would certainly be concerning. I can see some considerable safety benefits to containing unrestrained people in the vehicle (rollovers tend to result in ejections, which have a high mortality rate), but at least from a management perspective, I'd much rather let a negligent person be ejected 50 times than keep 49 of them in the vehicle and have 1 sue us because we cut their arm off.
As long as their sensors correctly identify a rollover vs. another kind of accident, I think it's an acceptable risk. If you're in a rollover situation you're likely to have both hands on the wheel already. If your arm is out the window during the rollover it's not likely to fare well anyway.
Which hand signal (brake, left, right) do you most often give when having your arm out the window? Do you mean it, and follow through, or is this the old-fashioned equivalent of leaving your turn signal on?
Note: hand signals are still legal, still tested on driver exams, and (as I saw a few weeks ago) still actually used for real.
Your concern should be for the safety of your customers, not for whether a measure that drastically increases safety might lead to a suit in rare cases.
After extensive testing it was found that a clean amputation provides a quicker recovery than a degloved, torn up limb. There were more amputations that would be ideal, but net morbidity was reduced.