Unpleasant behaviour in nests is an absurdity (9)
I believe the answer is:
nastiness
'unpleasant behaviour' is the definition.
(I've seen this before)
'nests is an absurdity' is the wordplay.
'nests is an' anagrams to 'NASTINESS'.
But, I am not sure how this is indicated.
'in' is the link.
Can you help me to learn more?
(Other definitions for nastiness that I've seen before include "hostility" , "Repugnant behaviour" , "repugnance" , "Unpleasant behaviour" , "ill humour" .)