The difference is that in accountability, you are not responsible for a given task to be completed, but you are the one who's gotta take the blame if something goes wrong in it.

In responsibility, you are the one who's shouted on if the task isn't completed.
Eg:The boss is accountable if anything goes wrong in a project, while the one who works under him is the one who is responsible for completion of the project.