To migrate all your emails from Outlook to Gmail, you'll need to link your Gmail and Outlook accounts, or perform a one-time import.
You can use a USB cable or just your Google account to connect a Google Pixel phone to your computer. Here's how to do both, on either a Mac or PC.