could be change in one of the baffles of the washer, could be change between the inner and out tub. Could be an underwire. Could be the spider support for the inner tub is cracked and is ticking as the tub turns.
Reach in and spin the inner tub. Does it spin in a circle or does is spin egg shaped? Does the ticking happen when you spin it by hand? Does it sound like change or metal on metal.
If I had to guess the support is cracked which is usually a death sentence for the washer.