Making myself crazy

Hi everyone. My son is 10 days old now. On day three of life, he cluster fed on/off all day. By the time we saw his pediatrician the next day, he'd dropped a significant amount if weight and had jaundice. The jaundice resolved once we started supplementing with formula. I'm still breastfeeding, then giving a bottle, and pumping and his weight is starting to bounce back. My concern now is that he will arch his back and squirm when I'm trying to get him to latch. I made the mistake of Googling why newborns arch their backs and now I'm stressing about all the things that could mean for him. Does anyone else experience this?