Good neighbours, bad neighbours
Some plants genuinely help each other - masking pests, drawing pollinators, feeding the soil - and a few just get in each other's way. Pick a crop and see who to plant beside it, and who to keep at the other end of the bed.
โ ๏ธ Companion planting is helpful folk wisdom backed by some good sense (scent masking, trap crops, nitrogen fixing), not a strict law. A healthy, diverse, well-fed bed matters far more than any single pairing - treat these as gentle nudges, not rules.