I always thought those were votive candles ...
“there is evidence that lit candles or oil lamps were burned at the tombs of saints, particularly martyrs, by the 200s”
I can’t say I understand votive candles, but I see nothing wrong with them. They’re optional.
Either way....still an act of worship of Mary.