Since we don't know the position of the element to be deleted, we need to search that element and then delete it.
For searching in a heap (be it min or max), we need to go through all the elements of the heap. Because there is no total ordering of the heap elements. There is no relation between the siblings of a node. So, searching will take O(n).
Now for deletion, it will take O(logn).
This gives total complexity = O(n) + O(logn) = O(n)