Something or somebody is beautiful if it is pleasant to see it.
Somebody is attractive if you enjoy their company and you have the desire to touch them and engage in activities that would cause mutual pleasure.
These are distinct feelings, even if there exists some correlation between them, mostly because when you consider somebody ugly, you are unlikely to be attracted to them. The reverse is not true, you can consider someone as very beautiful without feeling the slightest attraction toward them.