An ingrown hair occurs when a hair grows inward. It can cause inflammation of the skin. Razor bumps, on the other hand, occur due to bacterial infection and subsequent inflammation in a hair follicle as a result of shaving. The causes are different, but the symptoms are very similar.