There are two main points here. First, the way God describes himself to his people (Israel) which impacts directly on his command that no image is to be attempted, as any kind of visual aid to worship. The second point is the idea that God might have "given" idolatrous images to the nations for them to worship.
(1) The entire Bible could not be clearer, that the one true God, who created everything, is Spirit. No human can see God because God is Spirit, as opposed to made of any kind of matter. God is not material. Jesus confirmed this in John 4:23-24. God is so utterly "other" to anything we can see or even imagine, that God uses words to convey what he wants us to understand about himself, his qualities, his commands.
That is stated in Deuteronomy chapter 4: "The Lord spake unto you out of the midst of the fire: ye heard the voice of the words, but saw no similitude; only ye heard a voice" (vs. 12). The next verse refers to some of his words being carved onto two stone tablets. There was no chiselled shape of any form, only Hebrew words. And at the outset, those written commands forbade the Israelites to have any gods, or to make any carved images for worship.
Even though God used words, like fire, to convey the truth about himself, that was not to say that God was fire. He spoke to them out of the midst of fire, and Moses heard a voice out of the midst of the burning bush. But God was not that fire despite saying in Deut. 4:24, "For the Lord thy God is a consuming fire". Hence, it would be equally wrong to worship fire as it would be to worship any man-made idol. Because God has no form, no image (likeness) can be made of him and is forbidden.
(2) You ask if "whatever the other nations (gentiles) is worshipping physically (can be seen or has forms) is given by God of the Hebrew to keep them away from God?" God did not give the sun, moon or stars to be worshipped. He gave them to serve functionally as seasons, and to give light on earth, to be involved in dividing day from night - Genesis 1:14-18 & Jeremiah 31:35. Worshipping anything God has created is forbidden.
However, there is a difference between God giving the gentiles 'things' that would keep them away from God, and God giving the gentiles up, or over, to futile worship. This is explained in Romans chapter 1 and I quote the relevant verses:
"For the invisible things of [God] from the creation of the world are
clearly seen, being understood by the things that are made, even his
eternal power and Godhead, so that they are without excuse. Because
that, when they knew God, they glorified him not as God, neither were
thankful; but became vain in their imaginations, and their foolish
heart was darkened. Professing themselves to be wise, they became
fools, and changed the glory of the uncorruptible God into an image
made like to corruptible man, anad to birds, and fourfooted beasts,
and creeping things. Wherefore God also gave them up to uncleanness
through the lusts of their own hearts, to dishonour their own bodies
between themselves: Who changed the truth of God into a lie, and
worshipped and served the creature more than the Creator, who is
blessed for ever. Amen." Romans 1:20-25 A.V.
The fact of the promise to Abraham that, through his faith, "all nations of the earth will be blessed" (Genesis 12:3 & 18:18 & 22:18 & 26:4 & Acts 3:25 & Galatians 3:8) shows that God is not keeping gentiles away from himself. The fact of Jesus' commission to his followers to spread out from Jerusalem to go to the whole world with the good news of his gospel (Matthew 28:29-20) shows how that promise of blessing to the gentiles would work out.