Periapical bone resorption occurs due to: