We can all agree that they both started on the same block but ended up on opposite sides of the war and I want to talk about how grief shaped the both of them into different individuals!!
Catalysts
Jean started as a self centered individual who wanted to join the Military Police alongside Marco to escape the titans and live a cushy life in the interior. However, Jean's life is turned upside down following Marco's death, serving as a major pivotal moment in his life and aiding in his last minute decision to join the Survey Corps, because it's 'right'. Jean reflects back on Marco's death when he's right on the edge of breaking down and choosing the wrong option because 'it's easier', which eventually led him to decline Floch's offer and join the Alliance in stopping the rumbling.
Floch transferred from the Garrison to the Scouts, he hadn't experienced real loss yet and couldn't have picked a worse time to join. Erwin's speech and death were major catalysts in shaping Floch's character, and it became a major part of his identity. He already had immense survival guilt and trauma upon surviving the suicide charge in Shiganshina, so when the truth about the outside world was revealed, he was vulnerable. Floch never really got to unpack his trauma before Eren reached him with his plan.
Erwin's Speech
Being the sole survivor of the suicide charge, Floch saw the worst of the enemy and was convinced that Paradis needed a devil to lead them forward, one who can match the cruelty of the enemies. He viewed the final march not as a sacrifice but as Erwin's ability to rid himself of his humanity and send his own soldiers to certain death. Floch convinced himself that the only way to give fallen comrades' deaths meaning was to bring back a devil to save Paradis.
How cowardice manifested in both of them
Floch describes his joining of the scouts as a decision he made while he was high on the tide of heroism, and later at the Shiganshina memorial begs that truth be told next time, so cowards like him wouldn't join their ranks. We can see that Floch's cowardice had turned into desperate self-preservation to avoid feeling helpless again.
While Floch had no pride about looking brave, Jean hid his fear and cowardice behind realism and sarcasm and projected that into Eren, adopting the persona of being notoriously proud.
Processing Grief
Jean let himself sit with Marco's death alongside the discomfort. By asking himself "What would Marco want me to do?", he's directed his pain and grief into responsibility. We can also see that Jean never attempted to isolate himself (like Reiner, in s4), but surrounded himself with people who understood his grief (Connie, Sasha, Armin, Mikasa etc etc)
To be fair, everyone Floch knew personally died in that suicide charge, I didn't get the impression that he willingly isolated himself, and perhaps had he had a support system he would've turned out differently.
Floch and Jean
I'm under the impression that Floch himself sees the parallels between him and Jean, as he respects him on multiple occasions and never resorts to threats with him the same way he did with the rest of the 104!
Even in his final moments in the manga, Floch looks straight at Jean while begging the Alliance not to go. At the same time, Jean never hates Floch the way the others do because Jean recognizes his own former self in him. Even while fighting against the Yeagerists, Jean openly admits that Floch isn't wrong about the danger facing Paradis; he simply refuses to abandon his humanity the way Floch did. (I still think Jean was the most conflicted person in this arc)
Final Thoughts
Floch was never meant to be Erwin's successor or parallel. I saw a comment somewhere that said: "When Floch does the “dedicate your heart” pose he does it with a gun in hand." Make of that what you will. To me, Floch's character serves to show how easy it is to fall into the fascist rabbit hole when you're weak-minded and vulnerable, while Jean shows what it takes to carry that same pain without losing your humanity.
Anyway, that's my analysis of my favorite two characters, thank you for reading and please share your thoughts!