We get our morals in two principal ways ─ from our evolution as gregarious mammals, and from our culture, education and experience. We come equipped with a conscience ─ a sense that certain statements we make apply to everyone, and aren't just our opinion, though of course the statements may vary from person to person ─ and mirror neurons, the ability to see someone else's actions or situation through our own eyes, the basis for sympathy and empathy, and at the least a contributor to altruism. We're also born with moral tendencies, as experiments with children even too young to talk have shown: dislike of the person who harms, approval of fairness and reciprocity, respect for authority, loyalty to the group and a sense of self-worth / virtue through self-denial; and later, strong instincts for child protection and nurture. Moral judgments ─ things for which others may judge us, such as whether and if so when you may fart, how you should dress, whether a wedding involves a dowry, a brideprice or something else or nothing, the 'correct' way to eat, and so on, are behaviors and values we learn from our surroundings.
So all human cultures have the genetic moral tendencies I mentioned, which are beneficial to keeping a tribe internally cooperative and reasonably harmonious, and also for organizing tribal joint action where needed; and the rest is as may be.