Pure speculation, but I would guess people first mixed wax and lamp oil in different ways to still get the burning effect of oil, with less of the cost of the oil, then added a wick to help light the oil/wax.
Then eventually that product morphed over time to the point where they realized the oil wasn't actually a necessary component