a star is a source of light & as the source of light becomes closer , that source of light will appear brighter & distance is a property of space and includes ordered values of close / far
as the distance of the star to earth decreases, the star will appear brighter