You retrieve your driver’s license and registration after the officer has approached your vehicle. You should notify the officer of the location of your items and advise the officer that you are going to get the items.
This is because certain movements such as reaching and searching for required documents before the officer approaches the vehicle, could be interpreted as a threat to the officer’s safety or indicate possible criminal activity.