On a photon transport problem in a time-dependent region