Tree or meadow pipit?

Seen on upland moors in west-central Scotland. They were abundant in the area. Can someone tell me whether it is a tree or meadow pipit? And point out why? Thanks!