Make sure the pellets aren’t out of date or moldy. If they are fresh and smell fine, adding water and turning them into a mash might help.
My chickens balk at pellets so I feed crumbles. I realize yours have been on pellets before, but anyway, it may be a good time to transition to crumbles.