If one of the midfoot bones is broken or a tendon is inflamed or torn, it may cause pain, swelling, bruising, and redness on the top of the foot. Midfoot injuries can be caused by accidents, such as a heavy object landing on the foot.