We have to let our body breath on it's own. We don't control.our heartbeats, our nerves feel pain. Our senses do their thing. We can choose to ignore some things or misinterpret them but the world goes on around us.
We are commanded to control are our reproductive urges and how we treat each other yet we have little to no control over our sense of loneliness.
Laws command us how to behave "or else!".
We work together to create food, water, power, and the other things we have defined as necessities but still haven't figured out a good way to optimize companionship. About the best we have done with regards to that is the domestication of small mammals. We also have only recently started to realize that unfettered reproduction leads to a reduction in our share of the necessities we create as there are limitations to available resources. There also is still a lack of understanding as to how best to select a human companion from the pool of available choices. It's not like breathing. It doesn't just happen. At least it doesnt unless your society dictates a companion or you have no alternative but to pay for pseudo companionship. And there is no guarantee that your companion will remain with you be it through choice or death and such losses are brutaly painful.
Schools teach reading, writing and arithmetic. Doctors mend us. Churches teach about morality. What teaches us about cures for loneliness.