New Era and MLB are both well-known baseball cap brands, and the reason why they have the same pattern is because they both use the authorized trademark of Major League Baseball.
MLB is a sports brand that mainly produces and sells a variety of baseball-themed sporting goods, including baseball caps, jerseys, sneakers, etc. New Era is one of the major manufacturers of baseball caps and the official supplier of MLB hat products.
Therefore, both New Era and MLB have the same MLB logo on their hats to indicate their partnership and brand identity. At the same time, this also makes it easier for consumers to identify the products of these brands.