The apparent size of objects is essentially the same.

You can consider the viewing angle.

If you calculate the angle from your pupil to each edge of the object in view.

The closer the object is to your eyeball, the wider the viewing angle.

The further away, the narrower the view angle.

And, thus the smaller the object appears.

Or, you can think of your visual field as describing an fixed viewing angle (an isosceles triangle). The further away, the larger the "base" of the triangle, and thus the more stuff that can be fit into the visual field, with each item appearing smaller.