Observations investigate the nature of the rotating millisecond pulsar PSR J1023+0038