Is there any in-universe logic to how the Enterprise's doors behave?
Out-of-universe, they open/close if and only if the plot demands it, but in-universe they can close (glad to be of service!) with someone standing directly in front of them: in the Netflix version of TNG S4E2 ("Family"), timestamp 1min34 remaining, the doors shut while Picard is still looking directly through them. In the following picture, the doors are closing after Worf's parents have just gone through them and Picard has elected not to.
Is there an in-universe explanation for why the doors shut then, rather than remaining open for Picard?
(This question is similar but not quite the same.)
