The document size of an image determines how large or small our image is going to print based on the image resolution. As you change the resolution of a file, its physical dimensions change, and vice versa. Imagine the file as a flexible ball of data: rolled up tight there is a high resolution (pixel density) but low (linear) size. Rolled out flat, the resolution (density of pixels) is lower but the (linear) size has increased. It's just like pastry!
Resizing is changing the size the image will print without changing the number of pixels in the image. Resampling changes the number of pixels in the image. Photoshop resamples images using interpolation methods to assign color values to any new pixels based on the color values of existing pixels. You can read more about the different methods here.