The VL53L7 is a VL53L5 with a defuser that spreads the light from 45 degrees square to 60 degrees square. And that almost doubles the square area and, unfortunately, almost halves the light shining on your black object.
And it's those reflected photons that enable the ranging. If you don't get enough light, you don't get a measurement.
So if your black object is black enough, and your distance is far enough, you end up with either highly variable distances, or no measurement at all.
So what happens when you place a white object in the field of view?
With that white object, there are going to be a lot of photons that are returned, and they hit the lens on top of the receiver. But the lens is not completely transparent. The vast majority are going to pass right through, but some unfortunately reflect of the surface of the lens, bounce around and pop out in seemingly random places.
When the target is very black, the sensor will enable all the Single Photon Avalanche Diodes (photon detectors), but with a very white target the sensor will shut down most of the SPADs to save some power and not collect unnecessary photon strikes.
The issue is with the half and half case where the detectors in the black areas are all enabled and they are picking up the photons returned by the white area which have been bounced around by the lens.
This gives a result that one may consider 'blur'. It's not really, but it sure looks like blur. The white areas appear larger than they should.
Read the section of the user manual on the 'sharpener'. It sets some limits on how many photons are needed to find an object.
So you have a couple of issues. One can be helped by the sharpener, so read that section.
But the only way around physical limitation of how far away a black object can be seen is to increase the timing budget. More time means more photons which means a better range. But there a limits to how much this can help.
So set the sharpener and increase the timing budget and see what the sensor can do.
That's all I can think of - unless you want to paint your target a lighter shade.
- john