why does the atomic structures determine the properties of a substance?

pls don't search it up i just tried that and it's a different question from mine ​