NASA probe piecing together how Mars’ atmosphere escapes to space