She's probably got a bug in it when she scratched it. Try not to worry and let the antibiotics do their work. It is an infection of some kind but it's hard to say what type. Take her to the hospital if she develops a fever/excessive pain or if it spreads. Call NHS direct if you are concerned.