First, cover the basics. Is your vegetable garden getting at least 6-8 hours of sun each day? Are your plants getting consistent moisture? Plants don't really like heavy clay soils or very compact soils (I have a clay-ish yard which is why we built raised beds in the first place.) Do you live in a new build? The trend now is for the topsoil to get stripped away leaving you will infertile subsoil! Those dirty dogs!!! And topsoil is expensive.