Falling sand/gravel is killed in air after falling through lava, but stays when landed in lava
When falling sand/gravel falls through lava and then, lands in air, it will pop into an item (pic 1), but when the falling sand/gravel stays in the lava and land there, it will form a block (pic 2).