He sounds like he's in shed- obviously just going from everything you described. You'll get better with practice at telling-Don't offer food, just keep the humidity up somewhat & be patient. Some snakes take longer than others.
Feeding snakes in shed, even IF they're willing (they usually know better than to eat) MAY actually disrupt the shed, making it difficult to remove- ie. stuck in a million pieces, so trust your snake to know when not to eat. Learn & accept their natural cycles (eating > shedding).
I would not have pulled him out to weigh, nor would I weigh any snake you've only had for 3 weeks- they NEED time to settle in- they're AFRAID & stress may cause him to refuse food even when he's done shedding. Just leave him in peace. To him, you & all humans are likely predators- remember that- he's still learning & eating is job #1 for him, so keep his stress low to reduce his fear.
Snakes live by their instincts, & the only thing in nature that normally picks them up is a predator about to have them for lunch. So avoid handling a new snake until after they've eaten at least 3 times at normal intervals (not counting time off for shed cycles).