According to the Bible, the golden calf was an idol made by the Israelites during Moses' absence, when he went up to Mount Sinai. In Hebrew, the incident is known as ḥēṭ' ha‘ēggel or "The Sin of the Calf". It is first mentioned in. Bull worship was common in many cultures. In Egypt, whence according to the Exodus narrative the Hebrews had recently come, the Apis Bull was a comparable object of worship, which some believe the Hebrews were reviving in the wilderness; alternatively, some believe the God of Israel was associated with or pictured as a calf/bull deity through the process of religious assimilation and syncretism. Among the Egyptians' and Hebrews' neighbors in the ancient Near East and in the Aegean, the aurochs, the wild bull, was widely worshipped, often as the Lunar Bull and as the creature of El.
https://en.wikipedia.org/wiki/Golden_calf
Now
Moloch[a] is the biblical name of a Canaanite god associated with child sacrifice. The name of this deity is also sometimes spelled Molech, Milcom, or Malcam.
The name Moloch results from a dysphemic vocalisation in the Second Temple period of a theonym based on the root mlk, "king". There are a number of Canaanite gods with names based on this root, which became summarily associated with Moloch, including Biblical מַלְכָּם Malkam "great king" (KJV Milcom), which appears to refer to a god of the Ammonites, as well as Tyrian Melqart and others.
https://en.wikipedia.org/wiki/Moloch