A GPX export can't be imported as an Activity into Strava because it doesn't contain your time, gps, HR, speed, and Power Meter data like a .FIT file does.
GPX is a route file that your bike computer uses for navigation while riding. That same bike computer will simultaneously create and write to a .FIT or .TCX file that is then uploaded to Strava when the ride is complete.