Answer:
It is due to their structure
Step-by-step explanation:
Some molecules have the exact same molecular formula but when you look at them you can see that they are shaped differently,
An example being coal and diamond, both are made of pure carbon but the reason why diamond is so much stronger than coal is because of its lattice structure.