All gear have caps for stats, so if you try to add materia that would give that piece of gear too much of one stat, it is capped and you only gain partial (or no) benefit from the materia. That is likely what is happening here.