PIE base ‘all’. See also pant- ‘all’.
[Pokorny *al-1, pp. 24–26, ‘besides; other’.]
To be alone is to be ‘all-one’, living in Oneness, in solitude. As such aloneness is a truly beautiful situation, which can turn sour if there is any longing for the situation to be different, when aloneness becomes loneliness, a mental disturbance.