Breast and fingers at the same time?

Cynthia

My daughter has recently started to put her fingers in her mouth while breastfeeding or bottle feeding.. which causes her to lose her latch over and over again but those fingers stay in even when she’s eating! Why??