This looks quite strange, can you paste the relevant latex code of the two images? The second image collides with the text block, that should never happen with a float. Did you use text placement that floats around images or something similar, or additional packages? What template are you using?
First image means X-ray diffraction is good and you can keep anywhere you want but coming to float image, If I write the latex code anywhere in the paper it's coming like this in a particular page.(wherever you given the image of the code).
But My point of view the Code is Ok.
But why I don't know.
I done whatever the possibilities I have but still problem remains.
I am have difficulty placing my floats under the text where I want them to be, LaTex seem to be arranging them how it chooses. Please how do I deactivate the float command or be able to place my image and tales where I want them?