Although thrown weapons don't count as ranged weapons for features like the Fighter's Archery Fighting Style, they do still gain the +2 bonus from being on high ground, and the -2 penalty for being on low ground.