This is most commonly called pasty butt and is normally caused by a dramatic change in temperature for long periods. It is blocking your chicks’ vent which causes it to not be able to relieve itself.
Treatment: You will need to wash your chickens’ butt with warm soapy water. It is also good to clean all waterers, feeders, and floors. You may also need to consider medication.