hitler was attached to his mother , though he had a troubled relationship with his father , who frequently beat him , especially in the years after alois ' retirement and disappointing farming efforts .