Vehicle hood , should have three adjustment points.
Two with rubber bumpers in the corners opposite the hinges and one on the striker pin that the latch attaches to.
If pushing the hood tight, causes it to miss-align with it's opening, then you adjust the ones with the rubber bumpers, longer, to hold the hood in alignment with it's opening.
If pushing the hood tight, brings it into alignment with it's opening, then you need to move the striker pin.
CAUTION: Make very small adjustments , over tightening the adjustments can make it very difficult to pull the release cable, even damaging the cable or latch.