Put a little of the ash in water and check the pH.
Lye (made by leaching from hardwood ashes) would produce these results, as would a number of other chemicals.
If the ashes got wet in a container, then dried out, the ashes near the bottom would be likely to contain more lye.