Distance is a poor measure of a space journey. Some asteroids far beyond the Moon can demand less propulsive effort to reach, because spacecraft must negotiate not just miles but motion. The destination matters less than the orbit it keeps and the speed a vehicle must shed on arrival.
The real price is velocity. Spaceflight engineers measure it in delta-v, the total change in speed and direction a mission must supply. An asteroid traveling around the Sun on an orbit similar to Earth's can be met with relatively little adjustment, provided the spacecraft departs at the right time. The Moon is closer, but reaching and landing on it requires a spacecraft to contend with its gravity and slow down substantially. Distance alone hides the bill.
A cheap arrival is not necessarily an easy mission. A distant asteroid may take much longer to reach, while its weak gravity makes landing or anchoring difficult. Nor is every near-Earth asteroid a bargain: many follow paths that differ sharply from Earth's, requiring more delta-v to rendezvous. Tracking those orbits serves another purpose, too. It helps astronomers estimate whether an object could approach or strike Earth. In the sky, a small rock can be both a tempting destination and a question that refuses to stand still.