Both fixtures share a drain branch, and the clog sits downstream of where they join. A washing machine pumps out fast, so it overwhelms a partly blocked line first, and the water surfaces at the lowest nearby opening, which is the kitchen sink. Lint and grease build up together in that branch.