Picking up bad habits from daycare

My toddler this past week’s behavior has been awful especially after she gets picked up from daycare and she can’t fall asleep without getting patted on her butt she even wakes up in the middle of the night so I can pat her butt and is so annoying because she didn’t use to do that