You're still alone even around people if you look at it from a metaphysical standpoint, the feeling of loneliness is just a longing to reconnect with the whole of your being. Interpersonal relationships are just a highly diluted form of reconnection to your source. That is why people feel alone even in relationships sometimes