Generics and name brand can be very different in some circumstances. When a drug patent is published there is information left out. Drug companies making generics often reverse engineer the original or don't bother with the stuff left out. As long as it works somewhat similar it can be marketed and sold. Things like the coating which may affect rate of absorption and metabolism differ.
So yes, name brand can be different.
Also different countries have different formulations and their drugs may be a bit "stronger" than the US ones. Natalie Sweetwine in her videos on YT mentioned that her endo said that the estradiol she purchased online to self med with actually contained a bit more than the stated dose. I notice they work somewhat better on me too so I've been thinking of getting it there instead. But I'm going to ask to go on injectibles anyway because I feel I am not getting my full potential from pills.