Branch dieback in citrus, particularly lemon, is very confusing. Most likely it is a disease issue called “shoot and twig dieback” of citrus.
Original article: https://www.reviewjournal.com/life/home-and-garden/trim-dead-branches-of-lemon-tree-to-desired-look-2654470/