How to delete All emails from iCloud but not from the iPhone 5S iOS 7.1.2?

The mail app deletes all the emails from the iCloud & iPhone As well

That's how it works. It is syncing your emails from the server it is stored on/hosted at so if you delete it from 1 avenue it would be reflected on all.