hello, No this is not infected from too much digging and scraping..
the problem u had discussed arised basically due to food lodgement in between the teeth.. because of that cavity/caries (proximal) occured in tooth... for which filling for first time in tooth was done few year back.. if i m not wrong your problem of food lodgement in region was temporarily solved..And you missed your regular check up appointments..
Now when your old filling/restoration got dislodged.. the chipping of tooth indicates.. that u had secondary caries( caries in tooth around the restored area)..
to treat the secondary caries the further digging/ removal of all carious part of tooth was done which was necessity.. it might be possible that caries has infected ur pulp/nerves of tooth.. so u r still having pain in the region after temporary filling. This pain can go only by endodontic therapy or RCT of involved tooth..
Ur gums need to be scaled/ clean properly now and if required periodontal surgery(minor) should be done to prevent food lodgement in region again.. and proper oral hygiene
including brushing, flossing, interdental aids
, mouthwashes should be followed..with proper follow up in future appointments.