You're sore Wednesday because you squatted Monday. Soreness from lifting can easily last two or three days, and even get worse on later days. It's called Delayed Onset Muscle Soreness or DOMS. 

Keep squatting. Keep walking and stretching on rest days. Keep an eye on your form.