The only way that the store could have told you that you had the wrong parts is if you asked them.
The advantage in building/owning an AR type weapon is that you get to pick the parts that you install on it.
The bad part is that you are responsible for what you install on it, and you are going to make some mistakes before you learn what works, and what doesn't.
The store where you got the parts didn't know exactly what you were going to do with the parts, as far as they knew, you were working on more than one weapon.
Unless you asked them if the sights would worked on the gun the way you were assembling it, the mistake is on you. Take the front sight off, the gun, and take it with you when you go to buy a replacement so you make sure that the next one is taller. Start a spare parts box with the original front slight, and let it be a reminder.
Front sights that are mounted on a rail can be knocked out of adjustment easier than barrel mounted FSBs or front sights. It's up to the assembler to make sure that the front sight mount is mounted square and secure. Many Homebuilders have problems with loose front gas blocks and front sights.
Rail mounted front sights can more eaily be knocked out of adjustment, and can be out of adjustment from the beginning because the rails were not mounted squarely, and securely. Many people don;t even notice that the front sights don't work consistently, because they are using a Red Dot or Scope mounted on the upper receiver rail, and not BUIS mounted on the handguard/rail..