Machines that invent. Flow Matching vs. Diffusion: Mastering ODEs and SDEs in Generative Modeling