The resonance frequency and the excitation amplitude of a silicon cantilever have been measured as a function of distance to a cleaved KBr(001) surface with a low-temperature scanning force microscope (SFM) in ultrahigh vacuum. We identify two regimes of tip-sample distances. Above a site-dependent critical tip-sample distance reproducible data with low noise and no interaction-induced energy dissipation are measured. In this regime reproducible SFM images can be recorded. At closer tip-sample distances, above two distinct atomic sites, the frequency values jump between two limiting curves on a timescale of tens of milliseconds. Furthermore, additional energy dissipation occurs wherever jumps are observed. We attribute both phenomena to rarely occurring changes in the tip apex configuration which are affected by short-range interactions with the sample. Their respective magnitudes are related to each other. A specific candidate two-level system is also proposed.