The attraction from a fixed strength magnet decreases with increased distance, and increases at closer distances.
Increasing the distance between the two magnets will cause a decrease in the force of attraction between two magnets.