I don’t know the exact details of the two lenses that you mention, but will give some information on a general level:
- any of todays camera objectives/lenses, zoom or primary, is build with a set of glasses with different shapes, specifications and coatings in it, so the resulting picture is as good as possible, as these glases correct for a number of effects that the light is subject to while passing the lens.
- a zoom lens needs to move this set of glasses inside the lenstube, to allow for changing the focal length (=zooming)
- while a primary lens will, by design, be optimised for a specific focal length, a zoom lens needs to work at both ends of the focal lengths - this requires some compromises to be done in its design.
- the aperture is not a defined size of opening, but it is a ratio of the opening related to the focal length. Therefore on zoom lens you will very often find a variable max aperture.
- a primary lens has (by definition) a single focal length. Therefore you need to « zoom » by moving closer or further away from your subject (you can also zoom in by cropping the picture in poist processing, but you can’t zoom out other than by moving)
I hope this gives you some pros and cons between a zoom and a primary lens.
Obviously there are (not looking into the details of the two lenses that you mention) different qualities, both of primary and zoom lenses, on the market. Typically the more expensive ones produce the better quality, as they can use better glasses.
At the end of the day, all depends on what you want to use your pictures for (show on social media, do a dedicated website, do a small print, do a large print, sell, etc.) to decide whether the extra quality will bring relevant added value to your end result, or whether you prefer the flexibility of a zoom lens.
(Me, for my part, I have a mix of zoom and primary lenses. If I go for a walk I will rather use a zoom lens for the flexibility it offers, while for other occasions I may opt for a primary lens)