The scientist isn't actually doing any real, sanctioned work on the ship. Their scans and observations are just a hobby of theirs. Not that they can ever tell the pilot this. See, at some point, the pilot expressed a fear of being alone. This reached their commander's ears, so they went out, found, and issued them a best friend.
