Is perhaps iCloud Photo Library enabled on your iPhone? If yes, is the "Optimize Storage" option enabled?
Then the portrait effect originals may have been removed from the iPhone and replaced by optimized versions without depth map, if more space is needed.