It may be
Everyone is different, and certain foods may be harder for people to digest, spinach being one of them. Spinach may at times be visible in your stool and it can cause greenish color in your stool etc, all signs it is not being 100% digested.
If you can not digest it well, move on to other foods that do not cause you any issues. Best wishes.