The high-fat content of vegetable oils, like olive or corn oil, can become rancid over time. This will not only smell bad, but it can also introduce bacteria to your food.
A food-grade oil creates a protective barrier that prevents moisture from sinking into the wood through cuts, grooves, and scratches that can harbor bacteria and weaken the board.