Hi Sunkara,
It must be in edit page while filling some data some associated data is being committed and because of which your main object is being auto-committed.
also since it is committed and present in database, cancel is not working as cancel is there to rollback unsaved changes not committed values.
Hope it helps!