The answer to 'why is my cricket scratching sounds' is that crickets make these sounds as a form of communication. The scratching or chirping sound is typically made by male crickets to attract females and mark their territory.
Crickets have special structures called 'stridulatory organs' on their wings that they rub together to create these distinctive sounds. The frequency and pattern of the chirping can vary depending on the species of cricket, time of day, and other environmental factors.