Why do guys only look at the outer beauty instead of the inner beauty?

There is this guy that I really liked and he doesn't really look at me. He told me that the reason why he didn't look at me or talk to me was because I wasn't pretty.
Why do guys only look at the outer beauty instead of the inner beauty?
Post Opinion